Ext.define("wmf.store.blacklist.blacklist", {
    extend: "Ext.data.Store",
    model: "wmf.model.blacklist.blacklist",
	requires: [
	],
	rootVisible: true,
	pageSize:20,
    proxy: {
        type: 'ajax',
        url: 'blacklist/getBlacklistTaskList.do',
        reader: {
            type: 'json',
            root: 'list'
        }
    },
    listeners : {  
        beforeload : function(store, operation) {  
        	var page = operation.page;
       		var start = (page-1) * 20;
       		var params = { 
       			limit:20,
       			start:start
       		};  
       		store.proxy.extraParams = {};
       		Ext.apply(store.proxy.extraParams, params);
        }  
    },
	storeId: 'blacklist.blacklist'
});